public class TimerBxArea extends AbstractTimeClockBxArea
| Constructor and Description |
|---|
TimerBxArea(int x,
int y,
int width,
int height,
int counter,
Bx6GScreenProfile screenProfile)
建构子。
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCounter()
取得计数值。
|
TimerBxUnit.TimerBxUnitFormat |
getFormat()
取得显示内容格式。
|
TimerBxUnit.TimerBxUnitMode |
getMode()
取得秒表计算方式。
|
java.awt.Color |
getUnitColor()
取得单元颜色。0:黑色;1:红色;2:绿色。
|
void |
setCounter(int counter)
设定计数值。
|
void |
setFormat(TimerBxUnit.TimerBxUnitFormat format)
设定显示内容格式。
|
void |
setMode(TimerBxUnit.TimerBxUnitMode mode)
设定秒表计算方式。
|
void |
setUnitColor(java.awt.Color unitColor)
设定单元颜色。0:黑色;1:红色;2:绿色。
|
generate, getBattleStartDay, getBattleStartHour, getBattleStartMinute, getBattleStartMonth, getBattleStartSecond, getBattleStartupMode, getBattleStartWeek, getBattleStartYear, getTimeDifferent, getTransparency, isBackgroundFlag, maskByBackground, overlayWithBackground, setBackgroundFlag, setBattleStartDay, setBattleStartHour, setBattleStartMinute, setBattleStartMonth, setBattleStartSecond, setBattleStartupMode, setBattleStartWeek, setBattleStartYear, setTimeDifferent, setTransparencygetFont, getFrameMoveStep, getFrameSpeed, getFrameStyle, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, preview, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, toString, validatepublic TimerBxArea(int x,
int y,
int width,
int height,
int counter,
Bx6GScreenProfile screenProfile)
x - X 座标。y - Y 座标。width - 区域宽度。height - 区域高度。counter - 计数值。screenProfile - 屏幕规格。public int getCounter()
public TimerBxUnit.TimerBxUnitFormat getFormat()
public TimerBxUnit.TimerBxUnitMode getMode()
public java.awt.Color getUnitColor()
public void setCounter(int counter)
counter - 计数值。public void setFormat(TimerBxUnit.TimerBxUnitFormat format)
format - 显示内容格式。public void setMode(TimerBxUnit.TimerBxUnitMode mode)
mode - 秒表计算方式。public void setUnitColor(java.awt.Color unitColor)
unitColor - 单元颜色。